package org.misty.seckill.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

@Getter
@Setter
@ToString
@Alias("sOrder")
public class SOrder {
  @JsonSerialize(using = ToStringSerializer.class)
  private long id;
  private long orderId;
  private long userId;
  private long seckillId;
}
